<template>
	<view style="height:100%;">
		<view class="plr mb-25">
			<title title="热门活动" :right="true" @handMore='handMore'></title>
		</view>
		<bs-line></bs-line>
		<view class="plr">
			<bsList @handNavDetails='handNavDetails' :props='props' :status='status' :list='list' :page='page'></bsList>
		</view>
	</view>
</template>

<script>
	import title from '@/components/bs-title/bs-title.vue'
	import bsList from '@/components/bs-list/bs-list.vue'
	export default {
		components: {
			title,
			bsList
		},
		props: {
			list: {
				type: Array,
				default: () => []
			}
		},
		data() {
			return {
				status: 'nomore',
				page: 0,
				props: {}
			};
		},
		methods: {
			//查看详情
			handNavDetails(item) {
				uni.navigateTo({
					url: '/pages/avtiveityConter/avtiveityDetails/avtiveityDetails?id=' + item.activityId
				})
			},
			//查看更多
			handMore() {
				uni.navigateTo({
					url: '/pages/avtiveityConter/avtiveityConter?index=1',
					fail: function(err) {
						console.log(err)
					}
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
